package ynu.edu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import ynu.edu.LoadBalanceConfig.ThreeTimesLoadBalanceConfig;
import ynu.edu.LoadBalanceConfig.randomLoadBalancer;

@SpringBootApplication
@EnableFeignClients
@LoadBalancerClient(name = "provider-service",configuration = ThreeTimesLoadBalanceConfig.class)
public class ConsumerApplication7777 {
    public static void main(String[] args) {
        SpringApplication.run(ConsumerApplication7777.class, args);
    }
}
